package cn.caidabao.camunda_demo.pojo.po;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
* <p>
    * 
    * </p>
*
* @author cai
* @since 2024-07-16
*/
    @Getter
    @Setter
    @TableName("t_cai_process_form_field")
    public class TCaiProcessFormField implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 字段id
     */
    @TableId("fieldId")
    @TableField(value = "fieldId")
    private Long fieldId;

    /**
     * 所属表单id
     */
    @TableField(value = "formId")
    private Long formId;

    /**
     * 字段名称
     */
    @TableField(value = "fieldName")
    private String fieldName;

    /**
     * 默认值
     */
    @TableField(value = "defaultValue")
    private String defaultValue;

    /**
     * 描述
     */
    @TableField(value = "desc")
    private String desc;

    /**
     * 字段类型
     */
    @TableField(value = "fieldType")
    private String fieldType;

    /**
     * 是否可编辑
     */
    @TableField(value = "editable")
    private Integer editable;

    /**
     * 展示类型
     */
    @TableField(value = "showType")
    private String showType;

    /**
     * 回显时得字段名称
     */
    @TableField(value = "detailFieldName")
    private String detailFieldName;

    /**
     * 是否必要
     */
    @TableField(value = "required")
    private Boolean required;

    /**
     * 检查类型
     */
    @TableField(value = "checkType")
    private String checkType;

    @TableField(value = "createTime",fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(value = "updateTime",fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @TableField(value = "createBy")
    private Long createBy;

    @TableField(value = "updateBy")
    private Long updateBy;

    @TableField(value = "isCamundaVariable")
    private Integer isCamundaVariable;

    @TableField(value = "isDel")
    private Integer isDel;
}